package com.csu.service.serviceImpl;

import com.csu.entity.Exam;
import com.csu.mapper.ExamMapper;
import com.csu.service.ExamService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ExamServiceImpl implements ExamService {

    @Autowired
    private ExamMapper examMapper;
    //获取所有考试信息
    @Override
    public List<Exam> getAllExam() {
        return examMapper.getAllExamList();
    }
}
